package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * @author :LYJ
 * @version : 1.0
 * @date : 2025/3/5 17:23
 * @desc : 采购订单-产品表
 * @since : JDK17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("采购订单-产品表")
@Table(name = "erp_purchase_order_product")
public class ErpPurchaseOrderProduct {
    @ApiModelProperty("销售订单编码")
    private String relationSn;
    @ApiModelProperty("产品编号")
    private String productNumber;
    @ApiModelProperty("产品名称")
    private String productName;
    @ApiModelProperty("图号")
    private String productDnumber;
    @ApiModelProperty("材质")
    private Integer productMaterialId;
    @ApiModelProperty("材质名称")
    private String productMaterialName;
    @ApiModelProperty("件数")
    private Integer demand;
    @ApiModelProperty("预计单重")
    private Double singleWeight;
    @ApiModelProperty("公斤价")
    private Double kilogramPrice;
    @ApiModelProperty("单价")
    private Double singlePrice;
    @ApiModelProperty("合计价")
    private Double totalPrice;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("供应商ID")
    private Integer supplierId;
}
